//
//  RouterRegistry+Pattern.m
//  CoreUser
//
//  Created by Demi on 27/04/2017.
//  Copyright © 2017 Azazie. All rights reserved.
//

#import "RouterRegistry+Pattern.h"

@implementation RouterRegistry (Pattern)

- (void)route:(NSString *)pattern block:(RouterHandlerBlock)block
{
    [self register:[[RouterPrivateHandler alloc] initWithPathPattern:pattern handle:block]];
}

@end
